Repository navigation
feat(claude): name Claude connections - #683
Merged
kalaspuff merged 3 commits intoDec 5, 2026
Merged
Conversation
People rename a connection in place in Settings → Claude, with fctl claude
rename, or when connecting (--name, and a Name field once they have another
connection); PATCH /api/v1/me/claude/{id} takes the label. A connection goes
by its name, else its account, else its kind, in Settings, the workspace
pickers and a session's refused card, and each row lists the workspaces whose
sessions run on it. Logins lose the 'Claude login' label fctl gave them, which
would have hidden their account.
This comment has been minimized.
This comment has been minimized.
… admins' names to them A blank fctl claude rename takes nothing away without --clear; --name is checked before anything connects, and a rename that fails after a sign-in warns instead of failing the connect. A token an admin token set keeps the name its admins gave it: the admin API reads it, so renaming it is refused, and Settings shows it without a pencil. docs/api.md documents the endpoint.
Contributor
Author
|
On the summary's API reference finding: fixed in 6599831. |
kalaspuff
approved these changes
Dec 5, 2026
kalaspuff
deleted the
fctl/1841-it-would-be-great-to-be-able-to-name-to
branch
December 5, 2026 12:39
kalaspuff
pushed a commit
to hyperstructure/design
that referenced
this pull request
Dec 5, 2026
## Summary Describes how Settings → Claude names connections, for the change in fctl that lets people name them: the title renames in place, the facts line leads with what the name hides (the account, the kind), and a line of workspace chips says which workspaces each connection runs. It also records the one naming order (the person's name, else the account, else the kind) that pickers and cards share, and that a connection without a name among several always shows its pencil. - hyperstructure/fctl#683 [fctl session](https://app.fctl.sh/s/ses_01M931PXJPXKZ87VCG3CJD2CP5) <!-- FCTL_REVIEW_SUMMARY --> --- > [!NOTE] > **Low risk.** It only changes design documentation, with no code touched. > > **What it does.** Documents how Settings → Claude names connections, for the fctl change that lets people name them. The title renames in place, the facts line leads with what the name hides, and workspace chips show where each connection runs. It also records the shared naming order (the person's name, else the account, else the kind), that an unnamed connection among several always shows its pencil, and that a token an admin token set keeps its admins' name, without a pencil. > > <sub>[fctl review](https://app.fctl.sh/s/ses_01M9332BTHXHF0C06KGKRHMRK2)'s first look at [`3eb76f9`](3eb76f9) · 1 file, +3 −1 · [Review agent settings](https://app.fctl.sh/p/fctl?tab=reviews)</sub> <!-- /FCTL_REVIEW_SUMMARY --> --------- Co-authored-by: fctl-sh[bot] <343971779+fctl-sh[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
People can name their Claude connections ("Romanesco seat", "Personal"), so that with several it's clear which one is which and which one each workspace should use. A connection now goes by the name its person gave it, else its account, else its kind, everywhere it's shown: Settings → Claude, each workspace's Claude picker (Settings → Workspaces and the workspace's own settings), the card a session shows when Claude refused its connection, the Settings list's summary, and
fctl claude status.fctl claude connect --name …works for every way to connect.PATCH /api/v1/me/claude/{id}with{"label": "…"}(nullor""clears it),fctl claude rename <connection> <name>and--clear(a blank name without--clearis refused).--nameis checked before anything connects. The audit log records "renamed a Claude connection" without the name, since admins read it and never see connection names.I checked it in
cargo xtask devwith the new CLI: connected a token with--name, renamed, cleared, tried an unknown id (404), an 81-character name (refused) and an empty PATCH (no change), and chose connections per workspace. The screenshots come from that stack.cargo xtask check lint, the web app's tests (2,142),npm run checkand the fctl CLI tests pass. Docs (cli.md, getting-started.md, llms.txt) and the design docs are updated.Screenshots
Before, on main: two long-lived tokens look alike, as in the report.
After: named, with the workspaces each one runs.
Renaming in place:
A workspace's picker in Settings → Workspaces:
Light theme, and a phone (pencils always show on touch):
Related
Worth confirming
provisioned) keeps the name its admins gave it: the admin API reads that name and re-provisioning sets it, so renaming one is refused, and Settings shows its name without a pencil.fctl workspaces members --claude, the audit log), as the oversight docs already promised for labels.fctl claude connect --login --name …names them once the sign-in completes.fctl session
Note
Medium risk. It adds a column and a PATCH endpoint for Claude connections and changes how the CLI, Settings and session pages show them, but the data is a display name only and the migration just adds a column.
What it does. People can now name each of their Claude connections (for example "Romanesco seat") in Settings → Claude, with
fctl claude renameandfctl claude connect --name, or withPATCH /api/v1/me/claude/{id}. The name goes before the account and kind wherever a connection is shown, and workspace admins never see a name its person gave it. A connection an admin token set keeps the name its admins gave it, and renaming it is refused.Migration.
0081_claude_connection_names.sqladds a column toclaude_credentials, so the control plane's database needs migrating on deploy.fctl review's first look at
6599831· 28 files, +854 −86 · Review agent settings